//@flow


import React, { Component } from 'react';



type Props = {
    userId :string,
    token  :string,
}

export class LoginResponseModal {

    /**用户ID */
    _userId: string = '';
    get userId(): string {
        return this._userId;
    }
    set userId(value: string) {
        this._userId = value;
    }
    /**请求令牌 */
    _token: string = '';
    get token(): string {
        return this._token;
    }
    set token(value: string) {
        this._token = value;
    }



    constructor(props:Props){
        super(props)
        this._userId = props.userId;
        this._token = props.token;

    }
}